Class UpdateFlakyTestsResponseResult

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class UpdateFlakyTestsResponseResult extends Object
Result of updating a single flaky test state.
  • Field Details

  • Constructor Details

    • UpdateFlakyTestsResponseResult

      public UpdateFlakyTestsResponseResult()
    • UpdateFlakyTestsResponseResult

      public UpdateFlakyTestsResponseResult(String id, Boolean success)
  • Method Details

    • error

      public UpdateFlakyTestsResponseResult error(String error)
    • getError

      @Nullable public String getError()
      Error message if the update failed.
      Returns:
      error
    • setError

      public void setError(String error)
    • id

    • getId

      public String getId()
      The ID of the flaky test from the request. This is the value of the @test.fingerprint_fqn facet on test events, the same ID accepted by the update request and returned by the Search flaky tests endpoint.
      Returns:
      id
    • setId

      public void setId(String id)
    • success

      public UpdateFlakyTestsResponseResult success(Boolean success)
    • getSuccess

      public Boolean getSuccess()
      True if the update was successful, False if there were any errors.
      Returns:
      success
    • setSuccess

      public void setSuccess(Boolean success)
    • putAdditionalProperty

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