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 Details

  • Constructor Details

    • FlakyTestHistoryPolicyMeta

      public FlakyTestHistoryPolicyMeta()
  • Method Details

    • branches

      public FlakyTestHistoryPolicyMeta branches(List<String> branches)
    • addBranchesItem

      public FlakyTestHistoryPolicyMeta addBranchesItem(String branchesItem)
    • getBranches

      @Nullable public List<String> getBranches()
      Branches where the test was flaky at the time of the status change.
      Returns:
      branches
    • getBranches_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<List<String>> getBranches_JsonNullable()
    • setBranches_JsonNullable

      public void setBranches_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> branches)
    • setBranches

      public void setBranches(List<String> branches)
    • config

    • getConfig

      @Nullable public FlakyTestHistoryPolicyMetaConfig getConfig()
      Configuration parameters of the policy that triggered this status change.
      Returns:
      config
    • setConfig

      public void setConfig(FlakyTestHistoryPolicyMetaConfig config)
    • daysActive

      public FlakyTestHistoryPolicyMeta daysActive(Integer daysActive)
    • getDaysActive

      @Nullable public Integer getDaysActive()
      The number of days the test has been active at the time of the status change. maximum: 2147483647
      Returns:
      daysActive
    • getDaysActive_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Integer> getDaysActive_JsonNullable()
    • setDaysActive_JsonNullable

      public void setDaysActive_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Integer> daysActive)
    • setDaysActive

      public void setDaysActive(Integer daysActive)
    • daysWithoutFlake

      public FlakyTestHistoryPolicyMeta daysWithoutFlake(Integer daysWithoutFlake)
    • getDaysWithoutFlake

      @Nullable public Integer getDaysWithoutFlake()
      The number of days since the test last exhibited flakiness. maximum: 2147483647
      Returns:
      daysWithoutFlake
    • getDaysWithoutFlake_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Integer> getDaysWithoutFlake_JsonNullable()
    • setDaysWithoutFlake_JsonNullable

      public void setDaysWithoutFlake_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Integer> daysWithoutFlake)
    • setDaysWithoutFlake

      public void setDaysWithoutFlake(Integer daysWithoutFlake)
    • failureRate

      public FlakyTestHistoryPolicyMeta failureRate(Double failureRate)
    • getFailureRate

      @Nullable public Double getFailureRate()
      The failure rate of the test at the time of the status change. minimum: 0 maximum: 1
      Returns:
      failureRate
    • getFailureRate_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Double> getFailureRate_JsonNullable()
    • setFailureRate_JsonNullable

      public void setFailureRate_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> failureRate)
    • setFailureRate

      public void setFailureRate(Double failureRate)
    • state

      public FlakyTestHistoryPolicyMeta state(String state)
    • getState

      @Nullable public String getState()
      The previous state of the test.
      Returns:
      state
    • getState_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getState_JsonNullable()
    • setState_JsonNullable

      public void setState_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> state)
    • setState

      public void setState(String state)
    • totalRuns

      public FlakyTestHistoryPolicyMeta totalRuns(Integer totalRuns)
    • getTotalRuns

      @Nullable public Integer getTotalRuns()
      The total number of test runs at the time of the status change. maximum: 2147483647
      Returns:
      totalRuns
    • getTotalRuns_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Integer> getTotalRuns_JsonNullable()
    • setTotalRuns_JsonNullable

      public void setTotalRuns_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Integer> totalRuns)
    • setTotalRuns

      public void setTotalRuns(Integer totalRuns)
    • putAdditionalProperty

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