Class FlakyTestPipelineStats

java.lang.Object
com.datadog.api.client.v2.model.FlakyTestPipelineStats

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class FlakyTestPipelineStats extends Object
CI pipeline related statistics for the flaky test. This information is only available if test runs are associated with CI pipeline events from CI Visibility.
  • Field Details

    • unparsed

      public boolean unparsed
    • JSON_PROPERTY_FAILED_PIPELINES

      public static final String JSON_PROPERTY_FAILED_PIPELINES
      See Also:
    • JSON_PROPERTY_TOTAL_LOST_TIME_MS

      public static final String JSON_PROPERTY_TOTAL_LOST_TIME_MS
      See Also:
  • Constructor Details

    • FlakyTestPipelineStats

      public FlakyTestPipelineStats()
  • Method Details

    • failedPipelines

      public FlakyTestPipelineStats failedPipelines(Long failedPipelines)
    • getFailedPipelines

      @Nullable public Long getFailedPipelines()
      The number of pipelines that failed due to this test for the past 7 days. This is computed as the sum of failed CI pipeline events associated with test runs where the flaky test failed.
      Returns:
      failedPipelines
    • getFailedPipelines_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getFailedPipelines_JsonNullable()
    • setFailedPipelines_JsonNullable

      public void setFailedPipelines_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> failedPipelines)
    • setFailedPipelines

      public void setFailedPipelines(Long failedPipelines)
    • totalLostTimeMs

      public FlakyTestPipelineStats totalLostTimeMs(Long totalLostTimeMs)
    • getTotalLostTimeMs

      @Nullable public Long getTotalLostTimeMs()
      The total time lost by CI pipelines due to this flaky test in milliseconds. This is computed as the sum of the duration of failed CI pipeline events associated with test runs where the flaky test failed.
      Returns:
      totalLostTimeMs
    • getTotalLostTimeMs_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getTotalLostTimeMs_JsonNullable()
    • setTotalLostTimeMs_JsonNullable

      public void setTotalLostTimeMs_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> totalLostTimeMs)
    • setTotalLostTimeMs

      public void setTotalLostTimeMs(Long totalLostTimeMs)
    • putAdditionalProperty

      public FlakyTestPipelineStats 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:
      FlakyTestPipelineStats
    • 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 FlakyTestPipelineStats 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