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 Details

  • Constructor Details

    • FlakyTestRunMetadata

      public FlakyTestRunMetadata()
  • Method Details

    • durationMs

      public FlakyTestRunMetadata durationMs(Long durationMs)
    • getDurationMs

      @Nullable public Long getDurationMs()
      The duration of the test run in milliseconds.
      Returns:
      durationMs
    • getDurationMs_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getDurationMs_JsonNullable()
    • setDurationMs_JsonNullable

      public void setDurationMs_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> durationMs)
    • setDurationMs

      public void setDurationMs(Long durationMs)
    • errorMessage

      public FlakyTestRunMetadata errorMessage(String errorMessage)
    • getErrorMessage

      @Nullable public String getErrorMessage()
      The error message from the test failure.
      Returns:
      errorMessage
    • getErrorMessage_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getErrorMessage_JsonNullable()
    • setErrorMessage_JsonNullable

      public void setErrorMessage_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> errorMessage)
    • setErrorMessage

      public void setErrorMessage(String errorMessage)
    • errorStack

      public FlakyTestRunMetadata errorStack(String errorStack)
    • getErrorStack

      @Nullable public String getErrorStack()
      The stack trace from the test failure.
      Returns:
      errorStack
    • getErrorStack_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getErrorStack_JsonNullable()
    • setErrorStack_JsonNullable

      public void setErrorStack_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> errorStack)
    • setErrorStack

      public void setErrorStack(String errorStack)
    • sourceEnd

      public FlakyTestRunMetadata sourceEnd(Long sourceEnd)
    • getSourceEnd

      @Nullable public Long getSourceEnd()
      The line number where the test ends in the source file.
      Returns:
      sourceEnd
    • getSourceEnd_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getSourceEnd_JsonNullable()
    • setSourceEnd_JsonNullable

      public void setSourceEnd_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> sourceEnd)
    • setSourceEnd

      public void setSourceEnd(Long sourceEnd)
    • sourceFile

      public FlakyTestRunMetadata sourceFile(String sourceFile)
    • getSourceFile

      @Nullable public String getSourceFile()
      The source file where the test is defined.
      Returns:
      sourceFile
    • getSourceFile_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getSourceFile_JsonNullable()
    • setSourceFile_JsonNullable

      public void setSourceFile_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> sourceFile)
    • setSourceFile

      public void setSourceFile(String sourceFile)
    • sourceStart

      public FlakyTestRunMetadata sourceStart(Long sourceStart)
    • getSourceStart

      @Nullable public Long getSourceStart()
      The line number where the test starts in the source file.
      Returns:
      sourceStart
    • getSourceStart_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getSourceStart_JsonNullable()
    • setSourceStart_JsonNullable

      public void setSourceStart_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> sourceStart)
    • setSourceStart

      public void setSourceStart(Long sourceStart)
    • putAdditionalProperty

      public FlakyTestRunMetadata putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      FlakyTestRunMetadata
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this FlakyTestRunMetadata object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object