Class FlakyTestsSearchFilter

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class FlakyTestsSearchFilter extends Object
Search filter settings.
  • Field Details

  • Constructor Details

    • FlakyTestsSearchFilter

      public FlakyTestsSearchFilter()
  • Method Details

    • includeHistory

      public FlakyTestsSearchFilter includeHistory(Boolean includeHistory)
    • getIncludeHistory

      @Nullable public Boolean getIncludeHistory()
      Whether to include the status change history for each flaky test in the response. When set to true, each test will include a history array with chronological status changes. Defaults to false.
      Returns:
      includeHistory
    • setIncludeHistory

      public void setIncludeHistory(Boolean includeHistory)
    • query

      public FlakyTestsSearchFilter query(String query)
    • getQuery

      @Nullable public String getQuery()
      Search query following log syntax used to filter flaky tests, same as on Flaky Tests Management UI. The supported search keys are: - flaky_test_state - flaky_test_category - @test.name - @test.suite - @test.module - @test.service - @git.repository.id_v2 - @git.branch - @test.codeowners - env - fingerprint_fqn

      Use fingerprint_fqn to filter by a test's stable Fingerprint FQN (the same value as the test's id).

      Returns:
      query
    • setQuery

      public void setQuery(String query)
    • putAdditionalProperty

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